home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 2004 #11 / Amiga Plus CD - 2004 - No. 11.iso / AmiSoft / Comm / www / tidy_os4.lha / tidy / include / tidyenum.h < prev   
C/C++ Source or Header  |  2004-07-25  |  24KB  |  606 lines

  1. #ifndef __TIDYENUM_H__
  2. #define __TIDYENUM_H__
  3.  
  4. /* tidyenum.h -- Split public enums into separate header
  5.  
  6.   Simplifies enum re-use in various wrappers.  E.g. SWIG
  7.   generated wrappers and COM IDL files.
  8.  
  9.   Copyright (c) 1998-2003 World Wide Web Consortium
  10.   (Massachusetts Institute of Technology, European Research 
  11.   Consortium for Informatics and Mathematics, Keio University).
  12.   All Rights Reserved.
  13.  
  14.   CVS Info :
  15.  
  16.     $Author: hoehrmann $ 
  17.     $Date: 2004/03/05 10:06:08 $ 
  18.     $Revision: 1.10 $ 
  19.  
  20.   Contributing Author(s):
  21.  
  22.      Dave Raggett <dsr@w3.org>
  23.  
  24.   The contributing author(s) would like to thank all those who
  25.   helped with testing, bug fixes and suggestions for improvements. 
  26.   This wouldn't have been possible without your help.
  27.  
  28.   COPYRIGHT NOTICE:
  29.  
  30.   This software and documentation is provided "as is," and
  31.   the copyright holders and contributing author(s) make no
  32.   representations or warranties, express or implied, including
  33.   but not limited to, warranties of merchantability or fitness
  34.   for any particular purpose or that the use of the software or
  35.   documentation will not infringe any third party patents,
  36.   copyrights, trademarks or other rights. 
  37.  
  38.   The copyright holders and contributing author(s) will not be held
  39.   liable for any direct, indirect, special or consequential damages
  40.   arising out of any use of the software or documentation, even if
  41.   advised of the possibility of such damage.
  42.  
  43.   Permission is hereby granted to use, copy, modify, and distribute
  44.   this source code, or portions hereof, documentation and executables,
  45.   for any purpose, without fee, subject to the following restrictions:
  46.  
  47.   1. The origin of this source code must not be misrepresented.
  48.   2. Altered versions must be plainly marked as such and must
  49.      not be misrepresented as being the original source.
  50.   3. This Copyright notice may not be removed or altered from any
  51.      source or altered source distribution.
  52.  
  53.   The copyright holders and contributing author(s) specifically
  54.   permit, without fee, and encourage the use of this source code
  55.   as a component for supporting the Hypertext Markup Language in
  56.   commercial products. If you use this source code in a product,
  57.   acknowledgment is not required but would be appreciated.
  58.  
  59.  
  60.   Created 2001-05-20 by Charles Reitzel
  61.   Updated 2002-07-01 by Charles Reitzel - 1st Implementation
  62. */
  63.  
  64. /** @file tidyenum.h - Enumerations defined for use with TidyLib.
  65. */
  66.  
  67. #ifdef __cplusplus
  68. extern "C" {
  69. #endif
  70.  
  71. /* Enumerate configuration options
  72. */
  73.  
  74. /** Categories of Tidy configuration options
  75. */
  76. typedef enum
  77. {
  78.   TidyMarkup,          /**< Markup options: (X)HTML version, etc */
  79.   TidyDiagnostics,     /**< Diagnostics */
  80.   TidyPrettyPrint,     /**< Output layout */
  81.   TidyEncoding,        /**< Character encodings */
  82.   TidyMiscellaneous    /**< File handling, message format, etc. */
  83. } TidyConfigCategory;
  84.  
  85.  
  86. /** Option IDs Used to get/set option values.
  87. */
  88. typedef enum
  89. {
  90.   TidyUnknownOption,   /**< Unknown option! */
  91.   TidyIndentSpaces,    /**< Indentation n spaces */
  92.   TidyWrapLen,         /**< Wrap margin */
  93.   TidyTabSize,         /**< Expand tabs to n spaces */
  94.  
  95.   TidyCharEncoding,    /**< In/out character encoding */
  96.   TidyInCharEncoding,  /**< Input character encoding (if different) */
  97.   TidyOutCharEncoding, /**< Output character encoding (if different) */    
  98.   TidyNewline,         /**< Output line ending (default to platform) */
  99.  
  100.   TidyDoctypeMode,     /**< See doctype property */
  101.   TidyDoctype,         /**< User specified doctype */
  102.  
  103.   TidyDuplicateAttrs,  /**< Keep first or last duplicate attribute */
  104.   TidyAltText,         /**< Default text for alt attribute */
  105.   
  106.   /* obsolte */
  107.   TidySlideStyle,      /**< Style sheet for slides: not used for anything yet */
  108.  
  109.   TidyErrFile,         /**< File name to write errors to */
  110.   TidyOutFile,         /**< File name to write markup to */
  111.   TidyWriteBack,       /**< If true then output tidied markup */
  112.   TidyShowMarkup,      /**< If false, normal output is suppressed */
  113.   TidyShowWarnings,    /**< However errors are always shown */
  114.   TidyQuiet,           /**< No 'Parsing X', guessed DTD or summary */
  115.   TidyIndentContent,   /**< Indent content of appropriate tags */
  116.                        /**< "auto" does text/block level content indentation */
  117.   TidyHideEndTags,     /**< Suppress optional end tags */
  118.   TidyXmlTags,         /**< Treat input as XML */
  119.   TidyXmlOut,          /**< Create output as XML */
  120.   TidyXhtmlOut,        /**< Output extensible HTML */
  121.   TidyHtmlOut,         /**< Output plain HTML, even for XHTML input.
  122.                            Yes means set explicitly. */
  123.   TidyXmlDecl,         /**< Add <?xml?> for XML docs */
  124.   TidyUpperCaseTags,   /**< Output tags in upper not lower case */
  125.   TidyUpperCaseAttrs,  /**< Output attributes in upper not lower case */
  126.   TidyMakeBare,        /**< Make bare HTML: remove Microsoft cruft */
  127.   TidyMakeClean,       /**< Replace presentational clutter by style rules */
  128.   TidyLogicalEmphasis, /**< Replace i by em and b by strong */
  129.   TidyDropPropAttrs,   /**< Discard proprietary attributes */
  130.   TidyDropFontTags,    /**< Discard presentation tags */
  131.   TidyDropEmptyParas,  /**< Discard empty p elements */
  132.   TidyFixComments,     /**< Fix comments with adjacent hyphens */
  133.   TidyBreakBeforeBR,   /**< Output newline before <br> or not? */
  134.  
  135.   /* obsolete */
  136.   TidyBurstSlides,     /**< Create slides on each h2 element */
  137.  
  138.   TidyNumEntities,     /**< Use numeric entities */
  139.   TidyQuoteMarks,      /**< Output " marks as " */
  140.   TidyQuoteNbsp,       /**< Output non-breaking space as entity */
  141.   TidyQuoteAmpersand,  /**< Output naked ampersand as & */
  142.   TidyWrapAttVals,     /**< Wrap within attribute values */
  143.   TidyWrapScriptlets,  /**< Wrap within JavaScript string literals */
  144.   TidyWrapSection,     /**< Wrap within <![ ... ]> section tags */
  145.   TidyWrapAsp,         /**< Wrap within ASP pseudo elements */
  146.   TidyWrapJste,        /**< Wrap within JSTE pseudo elements */
  147.   TidyWrapPhp,         /**< Wrap within PHP pseudo elements */
  148.   TidyFixBackslash,    /**< Fix URLs by replacing \ with / */
  149.   TidyIndentAttributes,/**< Newline+indent before each attribute */
  150.   TidyXmlPIs,          /**< If set to yes PIs must end with ?> */
  151.   TidyXmlSpace,        /**< If set to yes adds xml:space attr as needed */
  152.   TidyEncloseBodyText, /**< If yes text at body is wrapped in P's */
  153.   TidyEncloseBlockText,/**< If yes text in blocks is wrapped in P's */
  154.   TidyKeepFileTimes,   /**< If yes last modied time is preserved */
  155.   TidyWord2000,        /**< Draconian cleaning for Word2000 */
  156.   TidyMark,            /**< Add meta element indicating tidied doc */
  157.   TidyEmacs,           /**< If true format error output for GNU Emacs */
  158.   TidyEmacsFile,       /**< Name of current Emacs file */
  159.   TidyLiteralAttribs,  /**< If true attributes may use newlines */
  160.   TidyBodyOnly,        /**< Output BODY content only */
  161.   TidyFixUri,          /**< Applies URI encoding if necessary */
  162.   TidyLowerLiterals,   /**< Folds known attribute values to lower case */
  163.   TidyHideComments,    /**< Hides all (real) comments in output */
  164.   TidyIndentCdata,     /**< Indent <!CDATA[ ... ]]> section */
  165.   TidyForceOutput,     /**< Output document even if errors were found */
  166.   TidyShowErrors,      /**< Number of errors to put out */
  167.   TidyAsciiChars,      /**< Convert quotes and dashes to nearest ASCII char */
  168.   TidyJoinClasses,     /**< Join multiple class attributes */
  169.   TidyJoinStyles,      /**< Join multiple style attributes */
  170.   TidyEscapeCdata,     /**< Replace <![CDATA[]]> sections with escaped text */
  171.  
  172. #if SUPPORT_ASIAN_ENCODINGS
  173.   TidyLanguage,        /**< Language property: not used for anything yet */
  174.   TidyNCR,             /**< Allow numeric character references */
  175. #endif
  176. #if SUPPORT_UTF16_ENCODINGS
  177.   TidyOutputBOM,      /**< Output a Byte Order Mark (BOM) for UTF-16 encodings */
  178.                       /**< auto: if input stream has BOM, we output a BOM */
  179. #endif
  180.  
  181.   TidyReplaceColor,    /**< Replace hex color attribute values with names */
  182.   TidyCSSPrefix,       /**< CSS class naming for -clean option */
  183.  
  184.   TidyInlineTags,      /**< Declared inline tags */
  185.   TidyBlockTags,       /**< Declared block tags */
  186.   TidyEmptyTags,       /**< Declared empty tags */
  187.   TidyPreTags,         /**< Declared pre tags */
  188.  
  189.   TidyAccessibilityCheckLevel, /**< Accessibility check level 
  190.                                    0 (old style), or 1, 2, 3 */
  191.  
  192.   TidyVertSpace,       /**< degree to which markup is spread out vertically */
  193. #if SUPPORT_ASIAN_ENCODINGS
  194.   TidyPunctWrap,       /**< consider punctuation and breaking spaces for wrapping */
  195. #endif
  196.   TidyMergeDivs,
  197.   N_TIDY_OPTIONS       /**< Must be last */
  198. } TidyOptionId;
  199.  
  200. /** Option data types
  201. */
  202. typedef enum
  203. {
  204.   TidyString,          /**< String */
  205.   TidyInteger,         /**< Integer or enumeration */
  206.   TidyBoolean          /**< Boolean flag */
  207. } TidyOptionType;
  208.  
  209.  
  210. /** AutoBool values used by ParseBool, ParseTriState, ParseIndent, ParseBOM
  211. */
  212. typedef enum
  213. {
  214.    TidyNoState,     /**< maps to 'no' */
  215.    TidyYesState,    /**< maps to 'yes' */
  216.    TidyAutoState    /**< Automatic */
  217. } TidyTriState;
  218.  
  219. /** TidyNewline option values to control output line endings.
  220. */
  221. typedef enum
  222. {
  223.     TidyLF,         /**< Use Unix style: LF */
  224.     TidyCRLF,       /**< Use DOS/Windows style: CR+LF */
  225.     TidyCR          /**< Use Macintosh style: CR */
  226. } TidyLineEnding;
  227.  
  228.  
  229. /** Mode controlling treatment of doctype
  230. */
  231. typedef enum
  232. {
  233.     TidyDoctypeOmit,    /**< Omit DOCTYPE altogether */
  234.     TidyDoctypeAuto,    /**< Keep DOCTYPE in input.  Set version to content */
  235.     TidyDoctypeStrict,  /**< Convert document to HTML 4 strict content model */
  236.     TidyDoctypeLoose,   /**< Convert document to HTML 4 transitional
  237.                              content model */
  238.     TidyDoctypeUser     /**< Set DOCTYPE FPI explicitly */
  239. } TidyDoctypeModes;
  240.  
  241. /** Mode controlling treatment of duplicate Attributes
  242. */
  243. typedef enum
  244. {
  245.     TidyKeepFirst,
  246.     TidyKeepLast
  247. } TidyDupAttrModes;
  248.  
  249.  
  250. /* I/O and Message handling interface
  251. **
  252. ** By default, Tidy will define, create and use 
  253. ** instances of input and output handlers for 
  254. ** standard C buffered I/O (i.e. FILE* stdin,
  255. ** FILE* stdout and FILE* stderr for content
  256. ** input, content output and diagnostic output,
  257. ** respectively.  A FILE* cfgFile input handler
  258. ** will be used for config files.  Command line
  259. ** options will just be set directly.
  260. */
  261.  
  262. /** Message severity level
  263. */
  264. typedef enum 
  265. {
  266.   TidyInfo,             /**< Information about markup usage */
  267.   TidyWarning,          /**< Warning message */
  268.   TidyConfig,           /**< Configuration error */
  269.   TidyAccess,           /**< Accessibility message */
  270.   TidyError,            /**< Error message - output suppressed */
  271.   TidyBadDocument,      /**< I/O or file system error */
  272.   TidyFatal             /**< Crash! */
  273. } TidyReportLevel;
  274.  
  275.  
  276. /* Document tree traversal functions
  277. */
  278.  
  279. /** Node types
  280. */
  281. typedef enum 
  282. {
  283.   TidyNode_Root,        /**< Root */
  284.   TidyNode_DocType,     /**< DOCTYPE */
  285.   TidyNode_Comment,     /**< Comment */
  286.   TidyNode_ProcIns,     /**< Processing Instruction */
  287.   TidyNode_Text,        /**< Text */
  288.   TidyNode_Start,       /**< Start Tag */
  289.   TidyNode_End,         /**< End Tag */
  290.   TidyNode_StartEnd,    /**< Start/End (empty) Tag */
  291.   TidyNode_CDATA,       /**< Unparsed Text */
  292.   TidyNode_Section,     /**< XML Section */
  293.   TidyNode_Asp,         /**< ASP Source */
  294.   TidyNode_Jste,        /**< JSTE Source */
  295.   TidyNode_Php,         /**< PHP Source */
  296.   TidyNode_XmlDecl      /**< XML Declaration */
  297. } TidyNodeType;
  298.  
  299.  
  300. /** Known HTML element types
  301. */
  302. typedef enum
  303. {
  304.   TidyTag_UNKNOWN,  /**< Unknown tag! */
  305.   TidyTag_A,        /**< A */
  306.   TidyTag_ABBR,     /**< ABBR */
  307.   TidyTag_ACRONYM,  /**< ACRONYM */
  308.   TidyTag_ADDRESS,  /**< ADDRESS */
  309.   TidyTag_ALIGN,    /**< ALIGN */
  310.   TidyTag_APPLET,   /**< APPLET */
  311.   TidyTag_AREA,     /**< AREA */
  312.   TidyTag_B,        /**< B */
  313.   TidyTag_BASE,     /**< BASE */
  314.   TidyTag_BASEFONT, /**< BASEFONT */
  315.   TidyTag_BDO,      /**< BDO */
  316.   TidyTag_BGSOUND,  /**< BGSOUND */
  317.   TidyTag_BIG,      /**< BIG */
  318.   TidyTag_BLINK,    /**< BLINK */
  319.   TidyTag_BLOCKQUOTE,   /**< BLOCKQUOTE */
  320.   TidyTag_BODY,     /**< BODY */
  321.   TidyTag_BR,       /**< BR */
  322.   TidyTag_BUTTON,   /**< BUTTON */
  323.   TidyTag_CAPTION,  /**< CAPTION */
  324.   TidyTag_CENTER,   /**< CENTER */
  325.   TidyTag_CITE,     /**< CITE */
  326.   TidyTag_CODE,     /**< CODE */
  327.   TidyTag_COL,      /**< COL */
  328.   TidyTag_COLGROUP, /**< COLGROUP */
  329.   TidyTag_COMMENT,  /**< COMMENT */
  330.   TidyTag_DD,       /**< DD */
  331.   TidyTag_DEL,      /**< DEL */
  332.   TidyTag_DFN,      /**< DFN */
  333.   TidyTag_DIR,      /**< DIR */
  334.   TidyTag_DIV,      /**< DIF */
  335.   TidyTag_DL,       /**< DL */
  336.   TidyTag_DT,       /**< DT */
  337.   TidyTag_EM,       /**< EM */
  338.   TidyTag_EMBED,    /**< EMBED */
  339.   TidyTag_FIELDSET, /**< FIELDSET */
  340.   TidyTag_FONT,     /**< FONT */
  341.   TidyTag_FORM,     /**< FORM */
  342.   TidyTag_FRAME,    /**< FRAME */
  343.   TidyTag_FRAMESET, /**< FRAMESET */
  344.   TidyTag_H1,       /**< H1 */
  345.   TidyTag_H2,       /**< H2 */
  346.   TidyTag_H3,       /**< H3 */
  347.   TidyTag_H4,       /**< H4 */
  348.   TidyTag_H5,       /**< H5 */
  349.   TidyTag_H6,       /**< H6 */
  350.   TidyTag_HEAD,     /**< HEAD */
  351.   TidyTag_HR,       /**< HR */
  352.   TidyTag_HTML,     /**< HTML */
  353.   TidyTag_I,        /**< I */
  354.   TidyTag_IFRAME,   /**< IFRAME */
  355.   TidyTag_ILAYER,   /**< ILAYER */
  356.   TidyTag_IMG,      /**< IMG */
  357.   TidyTag_INPUT,    /**< INPUT */
  358.   TidyTag_INS,      /**< INS */
  359.   TidyTag_ISINDEX,  /**< ISINDEX */
  360.   TidyTag_KBD,      /**< KBD */
  361.   TidyTag_KEYGEN,   /**< KEYGEN */
  362.   TidyTag_LABEL,    /**< LABEL */
  363.   TidyTag_LAYER,    /**< LAYER */
  364.   TidyTag_LEGEND,   /**< LEGEND */
  365.   TidyTag_LI,       /**< LI */
  366.   TidyTag_LINK,     /**< LINK */
  367.   TidyTag_LISTING,  /**< LISTING */
  368.   TidyTag_MAP,      /**< MAP */
  369.   TidyTag_MARQUEE,  /**< MARQUEE */
  370.   TidyTag_MENU,     /**< MENU */
  371.   TidyTag_META,     /**< META */
  372.   TidyTag_MULTICOL, /**< MULTICOL */
  373.   TidyTag_NOBR,     /**< NOBR */
  374.   TidyTag_NOEMBED,  /**< NOEMBED */
  375.   TidyTag_NOFRAMES, /**< NOFRAMES */
  376.   TidyTag_NOLAYER,  /**< NOLAYER */
  377.   TidyTag_NOSAVE,   /**< NOSAVE */
  378.   TidyTag_NOSCRIPT, /**< NOSCRIPT */
  379.   TidyTag_OBJECT,   /**< OBJECT */
  380.   TidyTag_OL,       /**< OL */
  381.   TidyTag_OPTGROUP, /**< OPTGROUP */
  382.   TidyTag_OPTION,   /**< OPTION */
  383.   TidyTag_P,        /**< P */
  384.   TidyTag_PARAM,    /**< PARAM */
  385.   TidyTag_PLAINTEXT,    /**< PLAINTEXT */
  386.   TidyTag_PRE,      /**< PRE */
  387.   TidyTag_Q,        /**< Q */
  388.   TidyTag_RB,       /**< RB */
  389.   TidyTag_RBC,      /**< RBC */
  390.   TidyTag_RP,       /**< RP */
  391.   TidyTag_RT,       /**< RT */
  392.   TidyTag_RTC,      /**< RTC */
  393.   TidyTag_RUBY,     /**< RUBY */
  394.   TidyTag_S,        /**< S */
  395.   TidyTag_SAMP,     /**< SAMP */
  396.   TidyTag_SCRIPT,   /**< SCRIPT */
  397.   TidyTag_SELECT,   /**< SELECT */
  398.   TidyTag_SERVER,   /**< SERVER */
  399.   TidyTag_SERVLET,  /**< SERVLET */
  400.   TidyTag_SMALL,    /**< SMALL */
  401.   TidyTag_SPACER,   /**< SPACER */
  402.   TidyTag_SPAN,     /**< SPAN */
  403.   TidyTag_STRIKE,   /**< STRIKE */
  404.   TidyTag_STRONG,   /**< STRONG */
  405.   TidyTag_STYLE,    /**< STYLE */
  406.   TidyTag_SUB,      /**< SUB */
  407.   TidyTag_SUP,      /**< SUP */
  408.   TidyTag_TABLE,    /**< TABLE */
  409.   TidyTag_TBODY,    /**< TBODY */
  410.   TidyTag_TD,       /**< TD */
  411.   TidyTag_TEXTAREA, /**< TEXTAREA */
  412.   TidyTag_TFOOT,    /**< TFOOT */
  413.   TidyTag_TH,       /**< TH */
  414.   TidyTag_THEAD,    /**< THEAD */
  415.   TidyTag_TITLE,    /**< TITLE */
  416.   TidyTag_TR,       /**< TR */
  417.   TidyTag_TT,       /**< TT */
  418.   TidyTag_U,        /**< U */
  419.   TidyTag_UL,       /**< UL */
  420.   TidyTag_VAR,      /**< VAR */
  421.   TidyTag_WBR,      /**< WBR */
  422.   TidyTag_XMP,      /**< XMP */
  423.   TidyTag_NEXTID,   /**< NEXTID */
  424.  
  425.   N_TIDY_TAGS       /**< Must be last */
  426. } TidyTagId;
  427.  
  428. /* Attribute interrogation
  429. */
  430.  
  431. /** Known HTML attributes
  432. */
  433. typedef enum
  434. {
  435.   TidyAttr_UNKNOWN,           /**< UNKNOWN= */
  436.   TidyAttr_ABBR,              /**< ABBR= */
  437.   TidyAttr_ACCEPT,            /**< ACCEPT= */
  438.   TidyAttr_ACCEPT_CHARSET,    /**< ACCEPT_CHARSET= */
  439.   TidyAttr_ACCESSKEY,         /**< ACCESSKEY= */
  440.   TidyAttr_ACTION,            /**< ACTION= */
  441.   TidyAttr_ADD_DATE,          /**< ADD_DATE= */
  442.   TidyAttr_ALIGN,             /**< ALIGN= */
  443.   TidyAttr_ALINK,             /**< ALINK= */
  444.   TidyAttr_ALT,               /**< ALT= */
  445.   TidyAttr_ARCHIVE,           /**< ARCHIVE= */
  446.   TidyAttr_AXIS,              /**< AXIS= */
  447.   TidyAttr_BACKGROUND,        /**< BACKGROUND= */
  448.   TidyAttr_BGCOLOR,           /**< BGCOLOR= */
  449.   TidyAttr_BGPROPERTIES,      /**< BGPROPERTIES= */
  450.   TidyAttr_BORDER,            /**< BORDER= */
  451.   TidyAttr_BORDERCOLOR,       /**< BORDERCOLOR= */
  452.   TidyAttr_BOTTOMMARGIN,      /**< BOTTOMMARGIN= */
  453.   TidyAttr_CELLPADDING,       /**< CELLPADDING= */
  454.   TidyAttr_CELLSPACING,       /**< CELLSPACING= */
  455.   TidyAttr_CHAR,              /**< CHAR= */
  456.   TidyAttr_CHAROFF,           /**< CHAROFF= */
  457.   TidyAttr_CHARSET,           /**< CHARSET= */
  458.   TidyAttr_CHECKED,           /**< CHECKED= */
  459.   TidyAttr_CITE,              /**< CITE= */
  460.   TidyAttr_CLASS,             /**< CLASS= */
  461.   TidyAttr_CLASSID,           /**< CLASSID= */
  462.   TidyAttr_CLEAR,             /**< CLEAR= */
  463.   TidyAttr_CODE,              /**< CODE= */
  464.   TidyAttr_CODEBASE,          /**< CODEBASE= */
  465.   TidyAttr_CODETYPE,          /**< CODETYPE= */
  466.   TidyAttr_COLOR,             /**< COLOR= */
  467.   TidyAttr_COLS,              /**< COLS= */
  468.   TidyAttr_COLSPAN,           /**< COLSPAN= */
  469.   TidyAttr_COMPACT,           /**< COMPACT= */
  470.   TidyAttr_CONTENT,           /**< CONTENT= */
  471.   TidyAttr_COORDS,            /**< COORDS= */
  472.   TidyAttr_DATA,              /**< DATA= */
  473.   TidyAttr_DATAFLD,           /**< DATAFLD= */
  474.   TidyAttr_DATAFORMATAS,      /**< DATAFORMATAS= */
  475.   TidyAttr_DATAPAGESIZE,      /**< DATAPAGESIZE= */
  476.   TidyAttr_DATASRC,           /**< DATASRC= */
  477.   TidyAttr_DATETIME,          /**< DATETIME= */
  478.   TidyAttr_DECLARE,           /**< DECLARE= */
  479.   TidyAttr_DEFER,             /**< DEFER= */
  480.   TidyAttr_DIR,               /**< DIR= */
  481.   TidyAttr_DISABLED,          /**< DISABLED= */
  482.   TidyAttr_ENCODING,          /**< ENCODING= */
  483.   TidyAttr_ENCTYPE,           /**< ENCTYPE= */
  484.   TidyAttr_FACE,              /**< FACE= */
  485.   TidyAttr_FOR,               /**< FOR= */
  486.   TidyAttr_FRAME,             /**< FRAME= */
  487.   TidyAttr_FRAMEBORDER,       /**< FRAMEBORDER= */
  488.   TidyAttr_FRAMESPACING,      /**< FRAMESPACING= */
  489.   TidyAttr_GRIDX,             /**< GRIDX= */
  490.   TidyAttr_GRIDY,             /**< GRIDY= */
  491.   TidyAttr_HEADERS,           /**< HEADERS= */
  492.   TidyAttr_HEIGHT,            /**< HEIGHT= */
  493.   TidyAttr_HREF,              /**< HREF= */
  494.   TidyAttr_HREFLANG,          /**< HREFLANG= */
  495.   TidyAttr_HSPACE,            /**< HSPACE= */
  496.   TidyAttr_HTTP_EQUIV,        /**< HTTP_EQUIV= */
  497.   TidyAttr_ID,                /**< ID= */
  498.   TidyAttr_ISMAP,             /**< ISMAP= */
  499.   TidyAttr_LABEL,             /**< LABEL= */
  500.   TidyAttr_LANG,              /**< LANG= */
  501.   TidyAttr_LANGUAGE,          /**< LANGUAGE= */
  502.   TidyAttr_LAST_MODIFIED,     /**< LAST_MODIFIED= */
  503.   TidyAttr_LAST_VISIT,        /**< LAST_VISIT= */
  504.   TidyAttr_LEFTMARGIN,        /**< LEFTMARGIN= */
  505.   TidyAttr_LINK,              /**< LINK= */
  506.   TidyAttr_LONGDESC,          /**< LONGDESC= */
  507.   TidyAttr_LOWSRC,            /**< LOWSRC= */
  508.   TidyAttr_MARGINHEIGHT,      /**< MARGINHEIGHT= */
  509.   TidyAttr_MARGINWIDTH,       /**< MARGINWIDTH= */
  510.   TidyAttr_MAXLENGTH,         /**< MAXLENGTH= */
  511.   TidyAttr_MEDIA,             /**< MEDIA= */
  512.   TidyAttr_METHOD,            /**< METHOD= */
  513.   TidyAttr_MULTIPLE,          /**< MULTIPLE= */
  514.   TidyAttr_NAME,              /**< NAME= */
  515.   TidyAttr_NOHREF,            /**< NOHREF= */
  516.   TidyAttr_NORESIZE,          /**< NORESIZE= */
  517.   TidyAttr_NOSHADE,           /**< NOSHADE= */
  518.   TidyAttr_NOWRAP,            /**< NOWRAP= */
  519.   TidyAttr_OBJECT,            /**< OBJECT= */
  520.   TidyAttr_OnAFTERUPDATE,     /**< OnAFTERUPDATE= */
  521.   TidyAttr_OnBEFOREUNLOAD,    /**< OnBEFOREUNLOAD= */
  522.   TidyAttr_OnBEFOREUPDATE,    /**< OnBEFOREUPDATE= */
  523.   TidyAttr_OnBLUR,            /**< OnBLUR= */
  524.   TidyAttr_OnCHANGE,          /**< OnCHANGE= */
  525.   TidyAttr_OnCLICK,           /**< OnCLICK= */
  526.   TidyAttr_OnDATAAVAILABLE,   /**< OnDATAAVAILABLE= */
  527.   TidyAttr_OnDATASETCHANGED,  /**< OnDATASETCHANGED= */
  528.   TidyAttr_OnDATASETCOMPLETE, /**< OnDATASETCOMPLETE= */
  529.   TidyAttr_OnDBLCLICK,        /**< OnDBLCLICK= */
  530.   TidyAttr_OnERRORUPDATE,     /**< OnERRORUPDATE= */
  531.   TidyAttr_OnFOCUS,           /**< OnFOCUS= */
  532.   TidyAttr_OnKEYDOWN,         /**< OnKEYDOWN= */
  533.   TidyAttr_OnKEYPRESS,        /**< OnKEYPRESS= */
  534.   TidyAttr_OnKEYUP,           /**< OnKEYUP= */
  535.   TidyAttr_OnLOAD,            /**< OnLOAD= */
  536.   TidyAttr_OnMOUSEDOWN,       /**< OnMOUSEDOWN= */
  537.   TidyAttr_OnMOUSEMOVE,       /**< OnMOUSEMOVE= */
  538.   TidyAttr_OnMOUSEOUT,        /**< OnMOUSEOUT= */
  539.   TidyAttr_OnMOUSEOVER,       /**< OnMOUSEOVER= */
  540.   TidyAttr_OnMOUSEUP,         /**< OnMOUSEUP= */
  541.   TidyAttr_OnRESET,           /**< OnRESET= */
  542.   TidyAttr_OnROWENTER,        /**< OnROWENTER= */
  543.   TidyAttr_OnROWEXIT,         /**< OnROWEXIT= */
  544.   TidyAttr_OnSELECT,          /**< OnSELECT= */
  545.   TidyAttr_OnSUBMIT,          /**< OnSUBMIT= */
  546.   TidyAttr_OnUNLOAD,          /**< OnUNLOAD= */
  547.   TidyAttr_PROFILE,           /**< PROFILE= */
  548.   TidyAttr_PROMPT,            /**< PROMPT= */
  549.   TidyAttr_RBSPAN,            /**< RBSPAN= */
  550.   TidyAttr_READONLY,          /**< READONLY= */
  551.   TidyAttr_REL,               /**< REL= */
  552.   TidyAttr_REV,               /**< REV= */
  553.   TidyAttr_RIGHTMARGIN,       /**< RIGHTMARGIN= */
  554.   TidyAttr_ROWS,              /**< ROWS= */
  555.   TidyAttr_ROWSPAN,           /**< ROWSPAN= */
  556.   TidyAttr_RULES,             /**< RULES= */
  557.   TidyAttr_SCHEME,            /**< SCHEME= */
  558.   TidyAttr_SCOPE,             /**< SCOPE= */
  559.   TidyAttr_SCROLLING,         /**< SCROLLING= */
  560.   TidyAttr_SELECTED,          /**< SELECTED= */
  561.   TidyAttr_SHAPE,             /**< SHAPE= */
  562.   TidyAttr_SHOWGRID,          /**< SHOWGRID= */
  563.   TidyAttr_SHOWGRIDX,         /**< SHOWGRIDX= */
  564.   TidyAttr_SHOWGRIDY,         /**< SHOWGRIDY= */
  565.   TidyAttr_SIZE,              /**< SIZE= */
  566.   TidyAttr_SPAN,              /**< SPAN= */
  567.   TidyAttr_SRC,               /**< SRC= */
  568.   TidyAttr_STANDBY,           /**< STANDBY= */
  569.   TidyAttr_START,             /**< START= */
  570.   TidyAttr_STYLE,             /**< STYLE= */
  571.   TidyAttr_SUMMARY,           /**< SUMMARY= */
  572.   TidyAttr_TABINDEX,          /**< TABINDEX= */
  573.   TidyAttr_TARGET,            /**< TARGET= */
  574.   TidyAttr_TEXT,              /**< TEXT= */
  575.   TidyAttr_TITLE,             /**< TITLE= */
  576.   TidyAttr_TOPMARGIN,         /**< TOPMARGIN= */
  577.   TidyAttr_TYPE,              /**< TYPE= */
  578.   TidyAttr_USEMAP,            /**< USEMAP= */
  579.   TidyAttr_VALIGN,            /**< VALIGN= */
  580.   TidyAttr_VALUE,             /**< VALUE= */
  581.   TidyAttr_VALUETYPE,         /**< VALUETYPE= */
  582.   TidyAttr_VERSION,           /**< VERSION= */
  583.   TidyAttr_VLINK,             /**< VLINK= */
  584.   TidyAttr_VSPACE,            /**< VSPACE= */
  585.   TidyAttr_WIDTH,             /**< WIDTH= */
  586.   TidyAttr_WRAP,              /**< WRAP= */
  587.   TidyAttr_XML_LANG,          /**< XML_LANG= */
  588.   TidyAttr_XML_SPACE,         /**< XML_SPACE= */
  589.   TidyAttr_XMLNS,             /**< XMLNS= */
  590.  
  591.   TidyAttr_EVENT,             /**< EVENT= */
  592.   TidyAttr_METHODS,           /**< METHODS= */
  593.   TidyAttr_N,                 /**< N= */
  594.   TidyAttr_SDAFORM,           /**< SDAFORM= */
  595.   TidyAttr_SDAPREF,           /**< SDAPREF= */
  596.   TidyAttr_SDASUFF,           /**< SDASUFF= */
  597.   TidyAttr_URN,               /**< URN= */
  598.  
  599.   N_TIDY_ATTRIBS              /**< Must be last */
  600. } TidyAttrId;
  601.  
  602. #ifdef __cplusplus
  603. }  /* extern "C" */
  604. #endif
  605. #endif /* __TIDYENUM_H__ */
  606.